package mystatic.a04demo4;

import mystatic.a04demo4.Student;

public class Test {
    public static void main(String[] args) {
        Student.teacherName = "老师名字";

        Student s1 = new Student();
        System.out.println("s1:" + s1);
        s1.name = "张三";
        s1.age = 23;
        s1.show1();

        System.out.println("----------------------------");

        Student s2 = new Student();
        System.out.println("s1:" + s1);
        s2.name = "lisi";
        s2.age = 43;
        s2.show1();
    }
}
